package face.pay.message.entity.event;

public class UserGetCardEvent extends  BaseEvent {

    /**
     * 卡券ID。
     */
    private  String CardId;

    /**
     * 是否为转赠领取，1代表是，0代表否。
     */
    private  String IsGiveByFriend;

    /**
     *code序列号。
     */
    private  String UserCardCode;

    /**
     * 当IsGiveByFriend为1时填入的字段，表示发起转赠用户的openid
     */
    private  String FriendUserName;

    private  String OuterId;

    /**
     * 为保证安全，微信会在转赠发生后变更该卡券的code号，该字段表示转赠前的code。
     */
    private  String OldUserCardCode;

    /**
     * 领取场景值，用于领取渠道数据统计。可在生成二维码接口及添加Addcard接口中自定义该字段的字符串值。
     */
    private  String OuterStr;

    /**
     * 用户删除会员卡后可重新找回，当用户本次操作为找回时，该值为1，否则为0
     */
    private  String IsRestoreMemberCard;

    private  String IsRecommendByFriend;

    private  String SourceScene;

    /**
     * 领券用户的UnionId
     */
    private  String UnionId;

    public String getCardId() {
        return CardId;
    }

    public void setCardId(String cardId) {
        CardId = cardId;
    }

    public String getIsGiveByFriend() {
        return IsGiveByFriend;
    }

    public void setIsGiveByFriend(String isGiveByFriend) {
        IsGiveByFriend = isGiveByFriend;
    }

    public String getUserCardCode() {
        return UserCardCode;
    }

    public void setUserCardCode(String userCardCode) {
        UserCardCode = userCardCode;
    }

    public String getFriendUserName() {
        return FriendUserName;
    }

    public void setFriendUserName(String friendUserName) {
        FriendUserName = friendUserName;
    }

    public String getOuterId() {
        return OuterId;
    }

    public void setOuterId(String outerId) {
        OuterId = outerId;
    }

    public String getOldUserCardCode() {
        return OldUserCardCode;
    }

    public void setOldUserCardCode(String oldUserCardCode) {
        OldUserCardCode = oldUserCardCode;
    }

    public String getOuterStr() {
        return OuterStr;
    }

    public void setOuterStr(String outerStr) {
        OuterStr = outerStr;
    }

    public String getIsRestoreMemberCard() {
        return IsRestoreMemberCard;
    }

    public void setIsRestoreMemberCard(String isRestoreMemberCard) {
        IsRestoreMemberCard = isRestoreMemberCard;
    }

    public String getIsRecommendByFriend() {
        return IsRecommendByFriend;
    }

    public void setIsRecommendByFriend(String isRecommendByFriend) {
        IsRecommendByFriend = isRecommendByFriend;
    }

    public String getSourceScene() {
        return SourceScene;
    }

    public void setSourceScene(String sourceScene) {
        SourceScene = sourceScene;
    }

    public String getUnionId() {
        return UnionId;
    }

    public void setUnionId(String unionId) {
        UnionId = unionId;
    }

    @Override
    public String toString() {
        return "UserGetCardEvent{" +
                "CardId='" + CardId + '\'' +
                ", IsGiveByFriend='" + IsGiveByFriend + '\'' +
                ", UserCardCode='" + UserCardCode + '\'' +
                ", FriendUserName='" + FriendUserName + '\'' +
                ", OuterId='" + OuterId + '\'' +
                ", OldUserCardCode='" + OldUserCardCode + '\'' +
                ", OuterStr='" + OuterStr + '\'' +
                ", IsRestoreMemberCard='" + IsRestoreMemberCard + '\'' +
                ", IsRecommendByFriend='" + IsRecommendByFriend + '\'' +
                ", SourceScene='" + SourceScene + '\'' +
                ", UnionId='" + UnionId + '\'' +
                '}';
    }
}
